﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Realtors.Web.UI.Models
{
    public class PropertySearchViewModel
    {
        [Display(Name = "ForRent", ResourceType = typeof(Resources))]
        public bool Is4Lease { get; set; }
        [Display(Name = "ForSale", ResourceType = typeof(Resources))]
        public bool Is4Purchase { get; set; }
        [Display(Name = "City", ResourceType = typeof(Resources))]
        public string City { get; set; }
        [Display(Name = "MinimumPrice", ResourceType = typeof(Resources))]
        public decimal MinimumPrice { get; set; }
        [Display(Name = "MaximumPrice", ResourceType = typeof(Resources))]
        public decimal MaximumPrice { get; set; }
        [Display(Name = "NoOfRooms", ResourceType = typeof(Resources))]
        public int MinimumRooms { get; set; }
        [Display(Name = "NoOfBathrooms", ResourceType = typeof(Resources))]
        public int MinimumBathrooms { get; set; }
    }
}